//
//  RGShareView.h
//  RedGrass
//
//  Created by wukong on 2018/12/13.
//  Copyright © 2018年 hongcaosp. All rights reserved.
//

#import "BaseView.h"


@class RGShareView;

@protocol RGShareViewDelegate <NSObject>

@optional

//分享
-(void) shareChosedWithShareView:(RGShareView *)view shareType:(RGShareType)type chosedIndex:(NSInteger)chosedIndex;

-(void) shareChosedWithView:(RGShareView *)view  chosedIndex:(NSInteger)chosedIndex;

//关闭视图
-(void) closeViewWithShareView;


@end


NS_ASSUME_NONNULL_BEGIN

static const NSInteger kShareMessageTag       = 0xb1;//私信
static const NSInteger kSharePushToOtherTag   = 0xb2;//转发
static const NSInteger kShareToOtherTag       = 0xb3;//分享到
static const NSInteger kShareSaveTag          = 0xb4;//保存


@interface RGShareView : BaseView

@property (weak, nonatomic) id <RGShareViewDelegate> shareViewDelegate;
@property (assign, nonatomic) NSInteger chosedVedioIndex;//当前选择的视频弹出的视图

-(void) initTopScrollViewWithUserArr:(NSArray *)userArr;


@end

NS_ASSUME_NONNULL_END
